#ifndef TURTLE_H
#define TURTLE_H

typedef struct
{
	double add[4];
	double stop[4];
	double stop_breakout;
	int have;
	double money;
} STG;

typedef struct
{
	double tr;
	double atr;
	struct
	{
		unsigned short low[120];
		unsigned short high[120];
	} breakout;
	STG buy;
	STG sell;
} TURTLE;

extern int DoTurtle(HISTORY *, TURTLE *, unsigned short);

#endif
